package com.yuanfeng.userms.controller;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @ClassName UserDistributorApplyController
 * @Description
 * @Author hyq
 * @Date 2023/7/14 13:53
 * @Version 1.0
 **/
@RestController
@RequestMapping("user/distributorApply")
public class UserDistributorApplyController extends BaseController{


    /**
     * 查询申请列表
     * @param param
     * @return
     */
    @PostMapping("/apply/list/query")
    public ResponseResult queryApplyList(@RequestBody Map<String, Object> param) {
        ResponseResult result = userDistributorApplyService.queryApplyList(param);
        return result;
    }
}
